🎖️GitЯра🎖️
baselineprofile/README.md fix/qr-error-correction (7b45f84f) Text, 1.49 KB
T383838:baselineprofile
Generates a Baseline Profile
for T383838:androidApp — AOT-compiling the cold-start and first-frame code paths so ART doesn't pay the
JIT cost on first launch. Targets the google flavor (the variant most users run).
Generate the profile (run on a device/emulator)
T282828
./gradlew :androidApp:generateGoogleReleaseBaselineProfile
Output is merged into T383838androidApp/src/google/generated/baselineProfiles/baseline-prof.txt.
Commit that file — release builds package it via T383838androidx.profileinstaller.
Quantify the win
T282828
./gradlew :androidApp:benchmarkGoogleReleaseBaselineProfile
Compare T383838startupCompilationNone vs T383838startupCompilationBaselineProfiles in the output.
Scope / TODO
• The journey (T383838BaselineProfileGenerator) is cold-start only, since CI has no paired radio.
Extend it with post-connection screens (node list, map, message thread) once a fake transport or
connected device is wired into the harness — a more representative journey yields a better profile.
• For hermetic CI generation, swap T383838useConnectedDevices = true in T383838build.gradle.kts for a
• f-droid currently inherits no profile (only T383838google is produced). Add a second flavor here if
the f-droid startup path ever diverges enough to matter.
Served by rngit 1.5.0 - Generated in 0.03s